<%@ page language="java" contentType="text/html; charset=UTF-8"  
    pageEncoding="UTF-8"%>  
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  
<html>  
<head>  
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">  
<title>index</title>  
</head>  
<body>  


    uploads<br/>
    <form action="${pageContext.request.contextPath}/admin/sysAtt/uploads.do" method="post" enctype="multipart/form-data">                
        <input type="file" name="files" /> 
        <input type="file" name="files" multiple="multiple"/> 
        <input type="file" name="files" multiple/> 
        <input type="submit" value="登录" />  
    </form>   

if上传
<form method="post" target="if" enctype="multipart/form-data" action="http://ipad.joeone.net/i/admin/sysAtt/uploadIf.do">
	<input type="file" name="file" />
	<input type="SUBMIT" value="upload" />
</form>
下载
<form method="post"  enctype="multipart/form-data" action="${pageContext.request.contextPath}/admin/sysAtt/downloadsIf.do">
	<input type="docIds" name="docIds" />
	<input type="SUBMIT" value="download" />
</form>
<IFRAME id="if" name="if" src="about:blank" frameborder='0'></IFRAME>

</body>  
<script>
document.domain='joeone.net';
	// 这个函数将来会被iframe用到
	function callback(val)
	{
		alert(val);
	}
</script>
</html>  